package com.paginasenlanube.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "users")
public class User implements Serializable{
	
 
  private static final long serialVersionUID = 1L;
  private long id;
  private String name;
  private String email;
  private String country;
  private String password;
  private boolean enabled;

  public User(){
	  
  }
  
  @Id
  @GeneratedValue
  @Column(name = "user_id")
  public long getId() {
		return id;
  }

  public void setId(long id) {
		this.id = id;
  }
  
  @Column(name = "username")
  public String getName() {
    return name;
  }

  public void setName(String value) {
    name = value;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String value) {
    email = value;
  }

  public String getCountry() {
    return country;
  }

  public void setCountry(String value) {
    country = value;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String value) {
    password = value;
  }

  public boolean isEnabled() {
	return enabled;
  }

  public void setEnabled(boolean enabled) {
	this.enabled = enabled;
  }


}
